/********************************************************************************
 *      Copyright:  (C) 2025 iot25<lingyun@email.com>
 *                  All rights reserved.
 *
 *       Filename:  sqlite_database.h
 *    Description:  This file sqlite_database
 *
 *        Version:  1.0.0(07/05/25)
 *         Author:  iot25 <lingyun@email.com>
 *      ChangeLog:  1, Release initial version on "07/05/25 18:13:01"
 *                 
 ********************************************************************************/
#ifndef _SQLITE_DATABASE_H_
#define _SQLITE_DATABASE_H_

#include<sqlite3.h>

extern sqlite3 *db;

int create_db(char *db_name);
int insert_data(sqlite3 *db, char *device_id, char *temperature, char *sample_time);

#endif
